<?php
if (config::$userData["usergroup_number"] >= config::$menuUsergroup)
    {

    //http://www.seoconsultants.com/css/menus/horizontal/
?>

<div class="snapol_menu" style = "left:0px; top:0px;width=100%;z-index:9999;background:#333333;height:30px;">
  <ul class = "pureCssMenu pureCssMenum" style="position:fixed;width: 100%;z-index:9999;height:30px;">
    <li class = "pureCssMenui"><a class = "pureCssMenui"
                href = "<?php echo config::$baseUrl."/";?>">Home</a> </li>
    <li usergroup="10" class = "pureCssMenui"><a class = "pureCssMenui" href = "#">Administration</a>
      <ul class = "pureCssMenum" com = "menu" node_url = "/admin" property_modus = "false" orderby="title">
        <li class = "pureCssMenui"><a class = "pureCssMenui" href = "[menu.url]">[menu.title]</a></li>
      </ul>
    </li>
    
    <li usergroup="30" class = "pureCssMenui"><a class = "pureCssMenui" href = "#">System</a>
      <ul class = "pureCssMenum" com = "menu" node_url = "/system-admin" property_modus = "false" orderby="title">
        <li class = "pureCssMenui"><a class = "pureCssMenui" href = "[menu.url]">[menu.title]</a></li>
      </ul>
    </li>
    
    <li class = "pureCssMenui"><b><a href = "#">[user:login]</a></b>
      <ul>
        <li><a href = "[system.base_url]/admin-passwort-aendern">Passwort ändern</a></li>
      </ul>
    </li>
    <li><a href = "/" com = "logout" property_modus="false">Logout</a></li>
    <li usergroup="30"><a href = "[system.base_url]/neue-seite">Neue Seite</a></li>
    <li usergroup="30"><a href = "[system.base_url]/page-property?id=[content_text:content_id]">Page Property</a></li>
    <li usergroup="30"><a href = "">Usergroup: [content_text:usergroup_number]</a></li>
    <li usergroup="30" class = "pureCssMenui"><a class = "pureCssMenui" href = "#">Insert Com</a>
      <ul com = "data" table = "_com_group" property_modus="false">
        <li><a href = "">[com_group]</a>
          <ul com = "data" table = "_com" where = "__com_group='[id]'" property_modus="false">
            <li><a href = "" com = "insert_com" com_name = "[com]">[com]</a> </li>
          </ul>
        </li>
      </ul>
    </li>
  </ul>
</div>
<?php
    }
?>
